package org.zebias.springcloudeurekaclient.service;

import org.springframework.stereotype.Component;
import org.zebias.springcloudeurekaclient.entity.Customer;

/**
 * @ClassName SearchClientFallBack
 * @Description 服务降级处理
 * @Author zebias
 * @Date 2020/12/31 17:27
 * @Version 1.0
 **/
@Component
public class SearchClientFallBack implements SearchClient {
    @Override
    public String search() {
        return "出现错误";
    }

    @Override
    public Customer findById(Integer id) {
        return null;
    }

    @Override
    public Customer getCustomer(Integer id, String name) {
        return null;
    }

    @Override
    public Customer save(Customer customer) {
        return null;
    }
}
